effect_type = {
    0 : "E_NONE",
    1 : "E_INSTAKILL",
    2 : "E_SCHOOL_DAMAGE",
    3 : "E_DUMMY",
    4 : "E_PORTAL_TELEPORT",
    5 : "E_TELEPORT_UNITS",
    6 : "E_APPLY_AURA",
    7 : "E_ENVIRONMENTAL_DAMAGE",
    8 : "E_POWER_DRAIN",
    9 : "E_HEALTH_LEECH",
    10 : "E_HEAL",
    11 : "E_BIND",
    12 : "E_PORTAL",
    13 : "E_RITUAL_BASE",
    14 : "E_RITUAL_SPECIALIZE",
    15 : "E_RITUAL_ACTIVATE_PORTAL",
    16 : "E_QUEST_COMPLETE",
    17 : "E_WEAPON_DAMAGE_NOSCHOOL",
    18 : "E_RESURRECT",
    19 : "E_ADD_EXTRA_ATTACKS",
    20 : "E_DODGE",
    21 : "E_EVADE",
    22 : "E_PARRY",
    23 : "E_BLOCK",
    24 : "E_CREATE_ITEM",
    25 : "E_WEAPON",
    26 : "E_DEFENSE",
    27 : "E_PERSISTENT_AREA_AURA",
    28 : "E_SUMMON",
    29 : "E_LEAP",
    30 : "E_ENERGIZE",
    31 : "E_WEAPON_PERCENT_DAMAGE",
    32 : "E_TRIGGER_MISSILE",
    33 : "E_OPEN_LOCK",
    34 : "E_SUMMON_CHANGE_ITEM",
    35 : "E_APPLY_AREA_AURA_PARTY",
    36 : "E_LEARN_SPELL",
    37 : "E_SPELL_DEFENSE",
    38 : "E_DISPEL",
    39 : "E_LANGUAGE",
    40 : "E_DUAL_WIELD",
    41 : "E_JUMP",
    42 : "E_JUMP2",
    43 : "E_TELEPORT_UNITS_FACE_CASTER",
    44 : "E_SKILL_STEP",
    45 : "E_ADD_HONOR",
    46 : "E_SPAWN",
    47 : "E_TRADE_SKILL",
    48 : "E_STEALTH",
    49 : "E_DETECT",
    50 : "E_TRANS_DOOR",
    51 : "E_FORCE_CRITICAL_HIT",
    52 : "E_GUARANTEE_HIT",
    53 : "E_ENCHANT_ITEM",
    54 : "E_ENCHANT_ITEM_TEMPORARY",
    55 : "E_TAMECREATURE",
    56 : "E_SUMMON_PET",
    57 : "E_LEARN_PET_SPELL",
    58 : "E_WEAPON_DAMAGE",
    59 : "E_CREATE_RANDOM_ITEM",
    60 : "E_PROFICIENCY",
    61 : "E_SEND_EVENT",
    62 : "E_POWER_BURN",
    63 : "E_THREAT",
    64 : "E_TRIGGER_SPELL",
    65 : "E_APPLY_AREA_AURA_RAID",
    66 : "E_RESTORE_ITEM_CHARGES",
    67 : "E_HEAL_MAX_HEALTH",
    68 : "E_INTERRUPT_CAST",
    69 : "E_DISTRACT",
    70 : "E_PULL",
    71 : "E_PICKPOCKET",
    72 : "E_ADD_FARSIGHT",
    73 : "E_UNTRAIN_TALENTS",
    74 : "E_APPLY_GLYPH",
    75 : "E_HEAL_MECHANICAL",
    76 : "E_SUMMON_OBJECT_WILD",
    77 : "E_SCRIPT_EFFECT",
    78 : "E_ATTACK",
    79 : "E_SANCTUARY",
    80 : "E_ADD_COMBO_POINTS",
    81 : "E_CREATE_HOUSE",
    82 : "E_BIND_SIGHT",
    83 : "E_DUEL",
    84 : "E_STUCK",
    85 : "E_SUMMON_PLAYER",
    86 : "E_ACTIVATE_OBJECT",
    87 : "E_WMO_DAMAGE",
    88 : "E_WMO_REPAIR",
    89 : "E_WMO_CHANGE",
    90 : "E_KILL_CREDIT",
    91 : "E_THREAT_ALL",
    92 : "E_ENCHANT_HELD_ITEM",
    93 : "E_BREAK_PLAYER_TARGETING",
    94 : "E_SELF_RESURRECT",
    95 : "E_SKINNING",
    96 : "E_CHARGE",
    97 : "E_SUMMON_ALL_TOTEMS",
    98 : "E_KNOCK_BACK",
    99 : "E_DISENCHANT",
    100 : "E_INEBRIATE",
    101 : "E_FEED_PET",
    102 : "E_DISMISS_PET",
    103 : "E_REPUTATION",
    104 : "E_SUMMON_OBJECT_SLOT1",
    105 : "E_SUMMON_OBJECT_SLOT2",
    106 : "E_SUMMON_OBJECT_SLOT3",
    107 : "E_SUMMON_OBJECT_SLOT4",
    108 : "E_DISPEL_MECHANIC",
    109 : "E_SUMMON_DEAD_PET",
    110 : "E_DESTROY_ALL_TOTEMS",
    111 : "E_DURABILITY_DAMAGE",
    112 : "E_112",
    113 : "E_RESURRECT_NEW",
    114 : "E_ATTACK_ME",
    115 : "E_DURABILITY_DAMAGE_PCT",
    116 : "E_SKIN_PLAYER_CORPSE",
    117 : "E_SPIRIT_HEAL",
    118 : "E_SKILL",
    119 : "E_APPLY_AREA_AURA_PET",
    120 : "E_TELEPORT_GRAVEYARD",
    121 : "E_NORMALIZED_WEAPON_DMG",
    122 : "E_122",
    123 : "E_SEND_TAXI",
    124 : "E_PLAYER_PULL",
    125 : "E_MODIFY_THREAT_PERCENT",
    126 : "E_STEAL_BENEFICIAL_BUFF",
    127 : "E_PROSPECTING",
    128 : "E_APPLY_AREA_AURA_FRIEND",
    129 : "E_APPLY_AREA_AURA_ENEMY",
    130 : "E_REDIRECT_THREAT",
    131 : "E_131",
    132 : "E_PLAY_MUSIC",
    133 : "E_UNLEARN_SPECIALIZATION",
    134 : "E_KILL_CREDIT2",
    135 : "E_CALL_PET",
    136 : "E_HEAL_PCT",
    137 : "E_ENERGIZE_PCT",
    138 : "E_LEAP_BACK",
    139 : "E_CLEAR_QUEST",
    140 : "E_FORCE_CAST",
    141 : "E_141",
    142 : "E_TRIGGER_SPELL_WITH_VALUE",
    143 : "E_APPLY_AREA_AURA_OWNER",
    144 : "E_144",
    145 : "E_145",
    146 : "E_ACTIVATE_RUNE",
    147 : "E_QUEST_FAIL",
    148 : "E_148",
    149 : "E_149",
    150 : "E_150",
    151 : "E_TRIGGER_SPELL_2",
    152 : "E_152",
    153 : "E_153",
    154 : "E_TEACH_TAXI_NODE",
    155 : "E_TITAN_GRIP",
    156 : "E_ENCHANT_ITEM_PRISMATIC",
    157 : "E_CREATE_ITEM_2",
    158 : "E_MILLING",
    159 : "E_ALLOW_RENAME_PET",
    160 : "E_160",
    161 : "E_TALENT_SPEC_COUNT",
    162 : "E_TALENT_SPEC_SELECT",
    163 : "E_163",
    164 : "E_164",
};

effect_subtype = {
    0 : "A_NONE",
    1 : "A_BIND_SIGHT",
    2 : "A_MOD_POSSESS",
    3 : "A_PERIODIC_DAMAGE",
    4 : "A_DUMMY",
    5 : "A_MOD_CONFUSE",
    6 : "A_MOD_CHARM",
    7 : "A_MOD_FEAR",
    8 : "A_PERIODIC_HEAL",
    9 : "A_MOD_ATTACKSPEED",
    10 : "A_MOD_THREAT",
    11 : "A_MOD_TAUNT",
    12 : "A_MOD_STUN",
    13 : "A_MOD_DAMAGE_DONE",
    14 : "A_MOD_DAMAGE_TAKEN",
    15 : "A_DAMAGE_SHIELD",
    16 : "A_MOD_STEALTH",
    17 : "A_MOD_STEALTH_DETECT",
    18 : "A_MOD_INVISIBILITY",
    19 : "A_MOD_INVISIBILITY_DETECTION",
    20 : "A_OBS_MOD_HEALTH",
    21 : "A_OBS_MOD_MANA",
    22 : "A_MOD_RESISTANCE",
    23 : "A_PERIODIC_TRIGGER_SPELL",
    24 : "A_PERIODIC_ENERGIZE",
    25 : "A_MOD_PACIFY",
    26 : "A_MOD_ROOT",
    27 : "A_MOD_SILENCE",
    28 : "A_REFLECT_SPELLS",
    29 : "A_MOD_STAT",
    30 : "A_MOD_SKILL",
    31 : "A_MOD_INCREASE_SPEED",
    32 : "A_MOD_INCREASE_MOUNTED_SPEED",
    33 : "A_MOD_DECREASE_SPEED",
    34 : "A_MOD_INCREASE_HEALTH",
    35 : "A_MOD_INCREASE_ENERGY",
    36 : "A_MOD_SHAPESHIFT",
    37 : "A_EFFECT_IMMUNITY",
    38 : "A_STATE_IMMUNITY",
    39 : "A_SCHOOL_IMMUNITY",
    40 : "A_DAMAGE_IMMUNITY",
    41 : "A_DISPEL_IMMUNITY",
    42 : "A_PROC_TRIGGER_SPELL",
    43 : "A_PROC_TRIGGER_DAMAGE",
    44 : "A_TRACK_CREATURES",
    45 : "A_TRACK_RESOURCES",
    46 : "A_46",
    47 : "A_MOD_PARRY_PERCENT",
    48 : "A_48",
    49 : "A_MOD_DODGE_PERCENT",
    50 : "A_MOD_CRITICAL_HEALING_AMOUNT",
    51 : "A_MOD_BLOCK_PERCENT",
    52 : "A_MOD_CRIT_PERCENT",
    53 : "A_PERIODIC_LEECH",
    54 : "A_MOD_HIT_CHANCE",
    55 : "A_MOD_SPELL_HIT_CHANCE",
    56 : "A_TRANSFORM",
    57 : "A_MOD_SPELL_CRIT_CHANCE",
    58 : "A_MOD_INCREASE_SWIM_SPEED",
    59 : "A_MOD_DAMAGE_DONE_CREATURE",
    60 : "A_MOD_PACIFY_SILENCE",
    61 : "A_MOD_SCALE",
    62 : "A_PERIODIC_HEALTH_FUNNEL",
    63 : "A_63",
    64 : "A_PERIODIC_MANA_LEECH",
    65 : "A_MOD_CASTING_SPEED_NOT_STACK",
    66 : "A_FEIGN_DEATH",
    67 : "A_MOD_DISARM",
    68 : "A_MOD_STALKED",
    69 : "A_SCHOOL_ABSORB",
    70 : "A_EXTRA_ATTACKS",
    71 : "A_MOD_SPELL_CRIT_CHANCE_SCHOOL",
    72 : "A_MOD_POWER_COST_SCHOOL_PCT",
    73 : "A_MOD_POWER_COST_SCHOOL",
    74 : "A_REFLECT_SPELLS_SCHOOL",
    75 : "A_MOD_LANGUAGE",
    76 : "A_FAR_SIGHT",
    77 : "A_MECHANIC_IMMUNITY",
    78 : "A_MOUNTED",
    79 : "A_MOD_DAMAGE_PERCENT_DONE",
    80 : "A_MOD_PERCENT_STAT",
    81 : "A_SPLIT_DAMAGE_PCT",
    82 : "A_WATER_BREATHING",
    83 : "A_MOD_BASE_RESISTANCE",
    84 : "A_MOD_REGEN",
    85 : "A_MOD_POWER_REGEN",
    86 : "A_CHANNEL_DEATH_ITEM",
    87 : "A_MOD_DAMAGE_PERCENT_TAKEN",
    88 : "A_MOD_HEALTH_REGEN_PERCENT",
    89 : "A_PERIODIC_DAMAGE_PERCENT",
    90 : "A_90",
    91 : "A_MOD_DETECT_RANGE",
    92 : "A_PREVENTS_FLEEING",
    93 : "A_MOD_UNATTACKABLE",
    94 : "A_INTERRUPT_REGEN",
    95 : "A_GHOST",
    96 : "A_SPELL_MAGNET",
    97 : "A_MANA_SHIELD",
    98 : "A_MOD_SKILL_TALENT",
    99 : "A_MOD_ATTACK_POWER",
    100 : "A_AURAS_VISIBLE",
    101 : "A_MOD_RESISTANCE_PCT",
    102 : "A_MOD_MELEE_ATTACK_POWER_VERSUS",
    103 : "A_MOD_TOTAL_THREAT",
    104 : "A_WATER_WALK",
    105 : "A_FEATHER_FALL",
    106 : "A_HOVER",
    107 : "A_ADD_FLAT_MODIFIER",
    108 : "A_ADD_PCT_MODIFIER",
    109 : "A_ADD_TARGET_TRIGGER",
    110 : "A_MOD_POWER_REGEN_PERCENT",
    111 : "A_ADD_CASTER_HIT_TRIGGER",
    112 : "A_OVERRIDE_CLASS_SCRIPTS",
    113 : "A_MOD_RANGED_DAMAGE_TAKEN",
    114 : "A_MOD_RANGED_DAMAGE_TAKEN_PCT",
    115 : "A_MOD_HEALING",
    116 : "A_MOD_REGEN_DURING_COMBAT",
    117 : "A_MOD_MECHANIC_RESISTANCE",
    118 : "A_MOD_HEALING_PCT",
    119 : "A_119",
    120 : "A_UNTRACKABLE",
    121 : "A_EMPATHY",
    122 : "A_MOD_OFFHAND_DAMAGE_PCT",
    123 : "A_MOD_TARGET_RESISTANCE",
    124 : "A_MOD_RANGED_ATTACK_POWER",
    125 : "A_MOD_MELEE_DAMAGE_TAKEN",
    126 : "A_MOD_MELEE_DAMAGE_TAKEN_PCT",
    127 : "A_RANGED_ATTACK_POWER_ATTACKER_BONUS",
    128 : "A_MOD_POSSESS_PET",
    129 : "A_MOD_SPEED_ALWAYS",
    130 : "A_MOD_MOUNTED_SPEED_ALWAYS",
    131 : "A_MOD_RANGED_ATTACK_POWER_VERSUS",
    132 : "A_MOD_INCREASE_ENERGY_PERCENT",
    133 : "A_MOD_INCREASE_HEALTH_PERCENT",
    134 : "A_MOD_MANA_REGEN_INTERRUPT",
    135 : "A_MOD_HEALING_DONE",
    136 : "A_MOD_HEALING_DONE_PERCENT",
    137 : "A_MOD_TOTAL_STAT_PERCENTAGE",
    138 : "A_MOD_HASTE",
    139 : "A_FORCE_REACTION",
    140 : "A_MOD_RANGED_HASTE",
    141 : "A_MOD_RANGED_AMMO_HASTE",
    142 : "A_MOD_BASE_RESISTANCE_PCT",
    143 : "A_MOD_RESISTANCE_EXCLUSIVE",
    144 : "A_SAFE_FALL",
    145 : "A_MOD_PET_TALENT_POINTS",
    146 : "A_ALLOW_TAME_PET_TYPE",
    147 : "A_MECHANIC_IMMUNITY_MASK",
    148 : "A_RETAIN_COMBO_POINTS",
    149 : "A_REDUCE_PUSHBACK",
    150 : "A_MOD_SHIELD_BLOCKVALUE_PCT",
    151 : "A_TRACK_STEALTHED",
    152 : "A_MOD_DETECTED_RANGE",
    153 : "A_SPLIT_DAMAGE_FLAT",
    154 : "A_MOD_STEALTH_LEVEL",
    155 : "A_MOD_WATER_BREATHING",
    156 : "A_MOD_REPUTATION_GAIN",
    157 : "A_PET_DAMAGE_MULTI",
    158 : "A_MOD_SHIELD_BLOCKVALUE",
    159 : "A_NO_PVP_CREDIT",
    160 : "A_MOD_AOE_AVOIDANCE",
    161 : "A_MOD_HEALTH_REGEN_IN_COMBAT",
    162 : "A_POWER_BURN_MANA",
    163 : "A_MOD_CRIT_DAMAGE_BONUS",
    164 : "A_164",
    165 : "A_MELEE_ATTACK_POWER_ATTACKER_BONUS",
    166 : "A_MOD_ATTACK_POWER_PCT",
    167 : "A_MOD_RANGED_ATTACK_POWER_PCT",
    168 : "A_MOD_DAMAGE_DONE_VERSUS",
    169 : "A_MOD_CRIT_PERCENT_VERSUS",
    170 : "A_DETECT_AMORE",
    171 : "A_MOD_SPEED_NOT_STACK",
    172 : "A_MOD_MOUNTED_SPEED_NOT_STACK",
    173 : "A_173",
    174 : "A_MOD_SPELL_DAMAGE_OF_STAT_PERCENT",
    175 : "A_MOD_SPELL_HEALING_OF_STAT_PERCENT",
    176 : "A_SPIRIT_OF_REDEMPTION",
    177 : "A_AOE_CHARM",
    178 : "A_MOD_DEBUFF_RESISTANCE",
    179 : "A_MOD_ATTACKER_SPELL_CRIT_CHANCE",
    180 : "A_MOD_FLAT_SPELL_DAMAGE_VERSUS",
    181 : "A_181",
    182 : "A_MOD_RESISTANCE_OF_STAT_PERCENT",
    183 : "A_MOD_CRITICAL_THREAT",
    184 : "A_MOD_ATTACKER_MELEE_HIT_CHANCE",
    185 : "A_MOD_ATTACKER_RANGED_HIT_CHANCE",
    186 : "A_MOD_ATTACKER_SPELL_HIT_CHANCE",
    187 : "A_MOD_ATTACKER_MELEE_CRIT_CHANCE",
    188 : "A_MOD_ATTACKER_RANGED_CRIT_CHANCE",
    189 : "A_MOD_RATING",
    190 : "A_MOD_FACTION_REPUTATION_GAIN",
    191 : "A_USE_NORMAL_MOVEMENT_SPEED",
    192 : "A_HASTE_MELEE",
    193 : "A_HASTE_ALL",
    194 : "A_MOD_IGNORE_ABSORB_SCHOOL",
    195 : "A_MOD_IGNORE_ABSORB_FOR_SPELL",
    196 : "A_MOD_COOLDOWN",
    197 : "A_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE",
    198 : "A_198",
    199 : "A_MOD_INCREASES_SPELL_PCT_TO_HIT",
    200 : "A_MOD_KILL_XP_PCT",
    201 : "A_FLY",
    202 : "A_IGNORE_COMBAT_RESULT",
    203 : "A_MOD_ATTACKER_MELEE_CRIT_DAMAGE",
    204 : "A_MOD_ATTACKER_RANGED_CRIT_DAMAGE",
    205 : "A_MOD_ATTACKER_SPELL_CRIT_DAMAGE",
    206 : "A_MOD_FLIGHT_SPEED",
    207 : "A_MOD_FLIGHT_SPEED_MOUNTED",
    208 : "A_MOD_FLIGHT_SPEED_STACKING",
    209 : "A_MOD_FLIGHT_SPEED_MOUNTED_STACKING",
    210 : "A_MOD_FLIGHT_SPEED_NOT_STACKING",
    211 : "A_MOD_FLIGHT_SPEED_MOUNTED_NOT_STACKING",
    212 : "A_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT",
    213 : "A_MOD_RAGE_FROM_DAMAGE_DEALT",
    214 : "A_214",
    215 : "A_ARENA_PREPARATION",
    216 : "A_HASTE_SPELLS",
    217 : "A_217",
    218 : "A_HASTE_RANGED",
    219 : "A_MOD_MANA_REGEN_FROM_STAT",
    220 : "A_MOD_RATING_FROM_STAT",
    221 : "A_221",
    222 : "A_222",
    223 : "A_223",
    224 : "A_224",
    225 : "A_PRAYER_OF_MENDING",
    226 : "A_PERIODIC_DUMMY",
    227 : "A_PERIODIC_TRIGGER_SPELL_WITH_VALUE",
    228 : "A_DETECT_STEALTH",
    229 : "A_MOD_AOE_DAMAGE_AVOIDANCE",
    230 : "A_230",
    231 : "A_PROC_TRIGGER_SPELL_WITH_VALUE",
    232 : "A_MECHANIC_DURATION_MOD",
    233 : "A_233",
    234 : "A_MECHANIC_DURATION_MOD_NOT_STACK",
    235 : "A_MOD_DISPEL_RESIST",
    236 : "A_CONTROL_VEHICLE",
    237 : "A_MOD_SPELL_DAMAGE_OF_ATTACK_POWER",
    238 : "A_MOD_SPELL_HEALING_OF_ATTACK_POWER",
    239 : "A_MOD_SCALE_2",
    240 : "A_MOD_EXPERTISE",
    241 : "A_FORCE_MOVE_FORWARD",
    242 : "A_MOD_SPELL_DAMAGE_FROM_HEALING",
    243 : "A_243",
    244 : "A_COMPREHEND_LANGUAGE",
    245 : "A_MOD_DURATION_OF_MAGIC_EFFECTS",
    246 : "A_MOD_DURATION_OF_EFFECTS_BY_DISPEL",
    247 : "A_247",
    248 : "A_MOD_COMBAT_RESULT_CHANCE",
    249 : "A_CONVERT_RUNE",
    250 : "A_MOD_INCREASE_HEALTH_2",
    251 : "A_MOD_ENEMY_DODGE",
    252 : "A_SLOW_ALL",
    253 : "A_MOD_BLOCK_CRIT_CHANCE",
    254 : "A_MOD_DISARM_SHIELD",
    255 : "A_MOD_MECHANIC_DAMAGE_TAKEN_PERCENT",
    256 : "A_NO_REAGENT_USE",
    257 : "A_MOD_TARGET_RESIST_BY_SPELL_CLASS",
    258 : "A_258",
    259 : "A_259",
    260 : "A_SCREEN_EFFECT",
    261 : "A_PHASE",
    262 : "A_262",
    263 : "A_ALLOW_ONLY_ABILITY",
    264 : "A_264",
    265 : "A_265",
    266 : "A_266",
    267 : "A_MOD_IMMUNE_A_APPLY_SCHOOL",
    268 : "A_MOD_ATTACK_POWER_OF_STAT_PERCENT",
    269 : "A_MOD_IGNORE_DAMAGE_REDUCTION_SCHOOL",
    270 : "A_MOD_IGNORE_TARGET_RESIST",
    271 : "A_MOD_DAMAGE_FROM_CASTER",
    272 : "A_MAELSTROM_WEAPON",
    273 : "A_X_RAY",
    274 : "A_274",
    275 : "A_MOD_IGNORE_SHAPESHIFT",
    276 : "A_276",
    277 : "A_MOD_MAX_AFFECTED_TARGETS",
    278 : "A_MOD_DISARM_RANGED",
    279 : "A_279",
    280 : "A_MOD_TARGET_ARMOR_PCT",
    281 : "A_MOD_HONOR_GAIN",
    282 : "A_MOD_BASE_HEALTH_PCT",
    283 : "A_MOD_HEALING_RECEIVED",
    284 : "A_284",
    285 : "A_MOD_ATTACK_POWER_OF_ARMOR",
    286 : "A_ABILITY_PERIODIC_CRIT",
    287 : "A_DEFLECT_SPELLS",
    288 : "A_288",
    289 : "A_289",
    290 : "A_MOD_ALL_CRIT_CHANCE",
    291 : "A_MOD_QUEST_XP_PCT",
    292 : "A_OPEN_STABLE",
    293 : "A_293",
    294 : "A_294",
    295 : "A_295",
    296 : "A_296",
    297 : "A_297",
    298 : "A_298",
    299 : "A_299",
    300 : "A_300",
    301 : "A_301",
    302 : "A_302",
    303 : "A_303",
    304 : "A_304",
    305 : "A_MOD_MINIMUM_SPEED",
    306 : "A_306",
    307 : "A_307",
    308 : "A_308",
    309 : "A_309",
    310 : "A_310",
    311 : "A_311",
    312 : "A_312",
    313 : "A_313",
    314 : "A_314",
    315 : "A_315",
    316 : "A_316",
    317 : "A_317",
    318 : "A_318",
    319 : "A_319",
}

effect_type_maxlen    = 0
effect_subtype_maxlen = 0

for k, v in effect_type.iteritems():
    if len(v) > effect_type_maxlen:
        effect_type_maxlen = len(v)


for k, v in effect_subtype.iteritems():
    if len(v) > effect_subtype_maxlen:
        effect_subtype_maxlen = len(v)

